<!-- <template> -->
    <!-- <div> -->
        <!-- <h2>我是Self_of_s组件</h2>
        <div>
            <h2 @click="getdata">点击获取数据</h2>
            <h2>{{sdata}}</h2>
            <h2 v-for="item in sdata">{{item}}</h2>
            <hr>
            <h2 @click="postData">上传数据</h2>
        </div> -->


    <!-- </div> -->
<!-- </template> -->
<template>
    <div>
        <el-steps :active="0" simple>
            <el-step title="学生自评申请"></el-step>
            <el-step title="班级审核"></el-step>
            <el-step title="班内公示"></el-step>
            <el-step title="学院复审"></el-step>
            <el-step title="学校核定"></el-step>
        </el-steps>
        <div style="width: 60%;">
            <el-descriptions title="" :column=3 :colon=false style="margin-top:40px">
                <el-descriptions-item label="自评分数：">100</el-descriptions-item>
                <el-descriptions-item label="班委评分">100</el-descriptions-item>
                <el-descriptions-item label="综测班级排名：">4</el-descriptions-item>
                <el-descriptions-item label="学业绩点：">3.5</el-descriptions-item>
                <el-descriptions-item label="绩点排名：">3</el-descriptions-item>
                <el-descriptions-item label="不及格科目数：">3</el-descriptions-item>
                <el-descriptions-item label=''></el-descriptions-item>
            </el-descriptions>
        </div>
        <!-- <el-descriptions  column = 1 labelstyle="{margin-left:auto}">
            <el-descriptions-item label="已审核人数">5</el-descriptions-item>
            <el-descriptions-item label="待审核人数" >2</el-descriptions-item>
        </el-descriptions> -->

        <div class="right">
            <!-- <div class="shenhe" >已审核人数：5</div> -->
            <!-- <div class="shenhe" >待审核人数：2</div> -->
            <div class="shenhe"
                style="background-color:blue;position: absolute;top: 30px;right: -200px ;color: aliceblue; font-size: 16px;">
                提交
            </div>
        </div>


        <!-- 各项分数表格 -->
        <div style="display: flex;flex-direction: column; height: 100%;">
            <!-- 智育分 -->
            <template class="form1" style="flex:1;">
                <h2 class="add"
                style="background-color:blue;color: aliceblue; font-size: 16px; margin-bottom: -50px;">+增添细则</h2>
                <h3 style="font-size: 15px">“智育分”（60%）模块综合评定</h3>
                <el-table :data="ZyData" border v-loading=false style="width:75%" :fit=false>
                    <el-table-column fixed prop="index" label="序号" width="50">
                    </el-table-column>
                    <el-table-column prop="xx_name" label="细项名称" width="120">
                    </el-table-column>
                    <el-table-column prop="content_sm" label="姓名" width="80">
                    </el-table-column>
                    <el-table-column prop="evi_mat" label="证明材料" width="180">
                    </el-table-column>
                    <el-table-column prop="sug_score" label="建议评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_self_score" label="自评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_bw_score" label="班委评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_new_time" label="更新时间" width="100">
                    </el-table-column>
                    <el-table-column fixed="right" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                            <el-button type="text" size="small">审核</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="block">
                    <el-pagination layout="prev, pager, next" :total="40" :page-size="num" @current-change="pageChange"
                        :current-page="curPage">
                    </el-pagination>
                </div>
            </template>

            <!-- 德育分 -->
            <template class="form1" style="flex: 1;">
                <h2 class="add"
                style="background-color:blue;color: aliceblue; font-size: 16px; margin-bottom: -50px;">+增添细则</h2>
                <h3 style="font-size: 15px">“德育分”（20%）模块综合评定</h3>
                <el-table :data="DyData" border v-loading=false style="width: 75%" :fit=false>
                    <el-table-column fixed prop="index" label="序号" width="50">
                    </el-table-column>
                    <el-table-column prop="xx_name" label="细项名称" width="120">
                    </el-table-column>
                    <el-table-column prop="content_sm" label="姓名" width="80">
                    </el-table-column>
                    <el-table-column prop="evi_mat" label="证明材料" width="180">
                    </el-table-column>
                    <el-table-column prop="sug_score" label="建议评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_self_score" label="自评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_bw_score" label="班委评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_new_time" label="更新时间" width="100">
                    </el-table-column>
                    <el-table-column fixed="right" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                            <el-button type="text" size="small">审核</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="block">
                    <el-pagination layout="prev, pager, next" :total="40" :page-size="num" @current-change="pageChange"
                        :current-page="curPage">
                    </el-pagination>
                </div>
            </template>

            <!-- 体育分 -->
            <template class="form1" style="flex: 1;">
                <h2 class="add"
                style="background-color:blue;color: aliceblue; font-size: 16px; margin-bottom: -50px;">+增添细则</h2>
                <h3 style="font-size: 15px">“体育分”（10%）模块综合评定</h3>
                <el-table :data="TyData" border v-loading=false style="width: 75%" :fit=false>
                    <el-table-column fixed prop="index" label="序号" width="50">
                    </el-table-column>
                    <el-table-column prop="xx_name" label="细项名称" width="120">
                    </el-table-column>
                    <el-table-column prop="content_sm" label="姓名" width="80">
         T           </el-table-column>
                    <el-table-column prop="evi_mat" label="证明材料" width="180">
                    </el-table-column>
                    <el-table-column prop="sug_score" label="建议评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_self_score" label="自评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_bw_score" label="班委评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_new_time" label="更新时间" width="100">
                    </el-table-column>
                    <el-table-column fixed="right" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                            <el-button type="text" size="small">审核</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="block">
                    <el-pagination layout="prev, pager, next" :total="40" :page-size="num" @current-change="pageChange"
                        :current-page="curPage">
                    </el-pagination>
                </div>
            </template>

            <!-- 劳育分 -->
            <template class="form1" style="flex: 1;">
                <h2 class="add"
                style="background-color:blue;color: aliceblue; font-size: 16px; margin-bottom: -50px;">+增添细则</h2>
                <h3 style="font-size: 15px">“劳育分”（5%）模块综合评定</h3>
                <el-table :data="LyData" border v-loading=false style="width: 75%" :fit=false>
                    <el-table-column fixed prop="index" label="序号" width="50">
                    </el-table-column>
                    <el-table-column prop="xx_name" label="细项名称" width="120">
                    </el-table-column>
                    <el-table-column prop="content_sm" label="姓名" width="80">
         T           </el-table-column>
                    <el-table-column prop="evi_mat" label="证明材料" width="180">
                    </el-table-column>
                    <el-table-column prop="sug_score" label="建议评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_self_score" label="自评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_bw_score" label="班委评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_new_time" label="更新时间" width="100">
                    </el-table-column>
                    <el-table-column fixed="right" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                            <el-button type="text" size="small">审核</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="block">
                    <el-pagination layout="prev, pager, next" :total="40" :page-size="num" @current-change="pageChange"
                        :current-page="curPage">
                    </el-pagination>
                </div>
            </template>

            <!-- 美育分 -->
            <template class="form1" style="flex: 1;">
                <h2 class="add"
                style="background-color:blue;color: aliceblue; font-size: 16px; margin-bottom: -50px;">+增添细则</h2>
                <h3 style="font-size: 15px">“美育分”（5%）模块综合评定</h3>
                <el-table :data="MyData" border v-loading=false style="width: 75%" :fit=false>
                    <el-table-column fixed prop="index" label="序号" width="50">
                    </el-table-column>
                    <el-table-column prop="xx_name" label="细项名称" width="120">
                    </el-table-column>
                    <el-table-column prop="content_sm" label="姓名" width="80">
         T           </el-table-column>
                    <el-table-column prop="evi_mat" label="证明材料" width="180">
                    </el-table-column>
                    <el-table-column prop="sug_score" label="建议评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_self_score" label="自评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_bw_score" label="班委评分" width="80">
                    </el-table-column>
                    <el-table-column prop="zy_new_time" label="更新时间" width="100">
                    </el-table-column>
                    <el-table-column fixed="right" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
                            <el-button type="text" size="small">审核</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div class="block">
                    <el-pagination layout="prev, pager, next" :total="40" :page-size="num" @current-change="pageChange"
                        :current-page="curPage">
                    </el-pagination>
                </div>
            </template>
        </div>


    </div>

</template>

<script>
export default {
    name: 'Self_of_s',
    data() {
        return {
            ZyData: [{
                index: 1,
                xx_name: '智育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'
            },
            {
                index: 1,
                xx_name: '智育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'
            },
            {
                index: 1,
                xx_name: '智育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'
            },
            {
                index: 1,
                xx_name: '智育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'
            },

            ],
            DyData: [{
                index: 1,
                xx_name: '德育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'

            }
            ],
            TyData: [{
                index: 1,
                xx_name: '体育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'

            }
            ],
            MyData: [{
                index: 1,
                xx_name: '美育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'

            }
            ],
            LyData: [{
                index: 1,
                xx_name: '劳育基本分',
                content_sm: '学习成绩',
                evi_mat: '查看附件',
                sug_score: 4,
                zy_self_score: 100,
                zy_bw_score: 100,
                zy_new_time: '2021.10.10'

            }
            ],
            num: 6,
            curPage: 1,

        }
    },
    methods: {
        handleClick(row) {
            console.log(row);
        },
        pageChange(n) {
            this.curPage = n;
        }
    }
}
</script>
        <!-- data(){
            return{
                content:"Hello world",
                sdata:''
            }
        },
        methods:{
            // getdata(){
            //     this.$axios.get('http://127.0.0.1/api/get').then(res=>{
            //         this.sdata = res.data
            //     })
            // },
            // postData(){
            //     this.$axios.post('http://127.0.0.1/api/post',{

            //     }).then(res=>{
            //         console.log(res);
            //     })

            // }
        }
    }

</script> -->
<style>
/* .demo .el-descriptions .el-descriptions__body .el-descriptions__table .el-descriptions-row td{
        width: 30% !important;
    } */
.left {
    float: left;
    /* margin-top: 40px; */
}

.right {
    position: absolute;
    top: 50px;
    right: 400px;
    font-family: “Microsoft YaHei”;
}

.shenhe {
    width: 180px;
    height: 50px;
    font-size: 14px;
    /* background-color: rgb(243, 234, 234); */
    text-align: center;
    line-height: 50px;
    margin-bottom: 4px;
    border: 2px solid #ccc;
    /* box-shadow: 5px 5px 5px #ccc; */
}

.form1 {
    width: 100%;
}


.select_first {
    width: 150px;
    height: 30px;
    border: 1px solid #ccc;
    outline: medium
}

.rank {
    display: inline-block;
    padding: 4px;
    font-size: 14px;
    background-color: skyblue;
}
.add{
    width: 180px;
    height: 40px;
    font-size: 14px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 4px;
    border: 2px solid #ccc;
}
</style>
